<template>
  <div>
    <el-input
      v-model="$route.query.roleName"
      :disabled="true"
      style="margin: 20px; width: 300px"
    ></el-input>
    <el-button type="primary">保存</el-button>
    <el-button @click="cancel">取消</el-button>
  </div>
</template>

<script>
export default {
  name: "roleAuth",
  data() {
    return {};
  },
  methods: {
    cancel() {
      this.$router.replace({ name: "Role" });
    },
  },
};
</script>

<style scoped></style>
